package com.plr.booker;

import java.util.Map;

import com.google.common.collect.ImmutableSortedMap;

public class OneWayPROD_LFS extends BookBase {

	static String originLocation = "YAM";
	static String destinationLocation = "YVR";
	static String departureDateTime = "2013-10-21";


	static Map<String, String> imap = ImmutableSortedMap
			.<String, String> naturalOrder()
			.put("OriginLocation", originLocation)
			.put("DestinationLocation", destinationLocation)
			.put("DepartureDateTime", departureDateTime)
			.put("POS", POS).build();

	static String file = "bugLFS/OneWayPROD_LFS.xml";

	static EndPoint ep = PROD_END_POINTS.DCLowFareSearchWS;

	/**
	 * Starting point for the SAAJ - SOAP Client Testing
	 */
	public static void main(String args[]) {
		OneWayPROD_LFS obj = new OneWayPROD_LFS();
		obj.doit();
	}

	@Override
	public EndPoint getEndPoint() {
		return ep;
	}

	@Override
	public String getFile() {
		return file;
	}

	@Override
	public Map<String, String> getFileParamMap() {
		return imap;
	}

	@Override
	String[] getNewFileParamName(ComType ct) {

		String[] s = { "out/LFS", ct.name(), " ", originLocation,
				destinationLocation, departureDateTime };
		return s;
	}
}
